<div class='container mainInfo auth-div'>

	<h1>Create User</h1>
	<p>Please enter the users information below.</p>
	
	<div id="infoMessage" class="info-message"><?php echo $message;?></div>
	
    <?php echo form_open("auth/create_user");?>
		<p>
			<label for="_userName" accesskey="u"><u>U</u>ser Name:</label>
				<?php echo form_input($user_name);?>
		</p>
		
		<p>
			<label for="_firstName" accesskey="f"><u>F</u>irst Name:</label>
				<?php echo form_input($first_name);?>
		</p>
	      
		<p>
			<label for="_lastName" accesskey="l"><u>L</u>ast Name:</label>
	      		<?php echo form_input($last_name);?>
		</p>
		
		<p>
			<label for="_group" accesskey="i">Group:</label>
				<?php echo form_dropdown('group', $group_list, $group_id, 'id="_group"'); //The 4th parameter is the js option?>
		</p>

		<p>
			<label for="_email" accesskey="e"><u>E</u>mail:</label>
				<?php echo form_input($email);?>
		</p>
      
		<p>
			<label for="_facility" accesskey="i">Fac<u>i</u>lity:</label>
				<?php echo form_dropdown('current_facility_id', $facility_list, $current_facility_id, 'id="_facility"'); //The 4th parameter is the js option?>
		</p>
      
		<p>
			<label for="_password" accesskey="s">Pa<u>s</u>sword:</label>
				<?php echo form_input($password);?>
		</p>
      
		<p>	
			<label for="_passwordConfirm" accesskey="w">Confirm Pass<u>w</u>ord:</label>
      			<?php echo form_input($password_confirm);?>
		</p>
      
      <p><?php echo form_submit('submit', 'Create User', 'class="submit-button"');?></p>

      
    <?php echo form_close();?>

</div>
